package com.module.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.report.domain.ReportDevice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 设备上下线Mapper
 */
@Mapper
public interface ReportDeviceMapper extends BaseMapper<ReportDevice> {

    /**
     * 根据设备类型统计
     * @param reportDevice
     * @return
     */
    public List<ReportDevice> selectTypeChartList(ReportDevice reportDevice);

    /**
     * 根据设备在线状态统计
     * @param reportDevice
     * @return
     */
    public List<ReportDevice> selectOnlineChartList(ReportDevice reportDevice);
}
